<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>带有左侧导航栏的主页</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }
        #sidebar {
            position: fixed;
            width: 200px;
            height: 100%;
            background-color: #333;
            color: white;
            padding: 20px;
        }
        #content {
            margin-left: 220px;
            padding: 20px;
        }
    </style>
</head>
<body>

<div id="sidebar">
    <h2>导航栏</h2>
    <ul>
        <li><a href="#">首页</a></li>
        <li><a href="#">关于我们</a></li>
        <li><a href="#">产品</a></li>
        <li><a href="#">联系我们</a></li>
    </ul>
</div>

<div id="content">
    <h1>欢迎来到我们的网站</h1>
    <p>这是一个带有左侧导航栏的简单主页示例。</p>
</div>

</body>
</html>
